﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Easydp.Models.Entities
{
    [Serializable]
    public class TT_Agent
    {
        private int agentID;
        public int AgentID
        {
            get
            {
                return agentID;
            }
            set
            {
                if (this.agentID != value)
                    this.agentID = value;
            }
        }

        private string loginName;
        public string LoginName
        {
            get
            {
                return loginName;
            }
            set
            {
                if (this.loginName != value)
                    this.loginName = value;
            }
        }

        private string password;
        public string Password
        {
            get
            {
                return password;
            }
            set
            {
                if (this.password != value)
                    this.password = value;
            }
        }

        private string agentName;
        public string AgentName
        {
            get
            {
                return agentName;
            }
            set
            {
                if (this.agentName != value)
                    this.agentName = value;
            }
        }

        private string linkman;
        public string Linkman
        {
            get
            {
                return linkman;
            }
            set
            {
                if (this.linkman != value)
                    this.linkman = value;
            }
        }

        private string address;
        public string Address
        {
            get
            {
                return address;
            }
            set
            {
                if (this.address != value)
                    this.address = value;
            }
        }

        private string nearby;
        public string Nearby
        {
            get
            {
                return nearby;
            }
            set
            {
                if (this.nearby != value)
                    this.nearby = value;
            }
        }

        private string city;
        public string City
        {
            get
            {
                return city;
            }
            set
            {
                if (this.city != value)
                    this.city = value;
            }
        }

        private string telphone;
        public string Telphone
        {
            get
            {
                return telphone;
            }
            set
            {
                if (this.telphone != value)
                    this.telphone = value;
            }
        }

        //private string orders;
        //public string Orders
        //{
        //    get
        //    {
        //        return orderba;
        //    }            
        //}
        private string workkours;
        public string WorkHours
        {
            get
            {
                return workkours;
            }
            set
            {
                if (this.workkours != value)
                    this.workkours = value;
            }

        }
        private string qq;
        public string WorkQQ
        {
            get
            {
                return qq;
            }
            set
            {
                if (this.qq != value)
                    this.qq = value;
            }

        }

        private DateTime createOn;
        public DateTime CreateOn
        {
            get
            {
                return createOn;
            }
            set
            {
                if (this.createOn != value)
                    this.createOn = value;
            }
        }

        

    }
}
